<?php if(!empty($subvo)){
    $v = $subvo;
    $subvo = '';
}
if(!empty($subsubvo)){
    $v = $subsubvo;
    $subsubvo = '';
}
?>

<div class="viewBox myBox<?php echo $v['id'];?>" <?php if($_SESSION[C('USER_AUTH_KEY')]){?> sortID="<?php echo $v['sort'];?>" modulesID="<?php echo $v['id'];?>" title="<?php echo $v['title'];?>" deleteUrl="<?php echo U('/Admin/Modules/delete',array('id'=>$v['id']));?>" settingUrl="<?php echo U('/Admin/Modules/edit',array('id'=>$v['id']));?>" isEdit="0"<?php }?>>
  <?php if(!empty($v['dataname'])){
                $v['content'] = $v['dataname'];
                
        }else{
            $v['content'] = unserialize($v['content']);
        }
         ?>
 
  <div class="slideBox">
    <div class="hd">
      <ul>
        <?php foreach($v['content'] as $key => $f){?>
        <?php $key++;?>
        <li><?php echo $key;?></li>
        <?php }?>
      </ul>
    </div>
    <div class="bd">
      <ul>
        <?php foreach($v['content'] as $key => $p){?>
        <li><a href="<?php echo $p['link']; ?>" title="<?php echo $p['title'];?>" target="_blank"><img alt="<?php echo $p['title'];?>" src="<?php echo getThumbPath($p['img_url']);?>" /></a></li>
        <?php }?>
      </ul>
    </div>
    <a class="prev" href="javascript:void(0)"></a> <a class="next" href="javascript:void(0)"></a> </div>
  <script type="text/javascript">
		jQuery(".myBox<?php echo $v['id'];?> .slideBox").slide({
			mainCell:
		".bd ul",
		interTime:<?php echo $v['interTime'];?>,
		autoPlay:<?php echo $v['autoPlay'];?>,
		effect:'<?php echo $v['effect'];?>'
		});
		</script> 
</div>
